package com.fz.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fz.core.BaseEntity;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * <p>
 * 存储门店与区域的关联关系
 * </p>
 *
 * @author hyr
 * @since 2025-06-18
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("region_store")
public class RegionStore extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 区域ID（外键）
     */
    private Long regionId;

    /**
     * 门店ID（外键）
     */
    private Long storesId;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 更新时间
     */
    private LocalDateTime updateTime;


    public RegionStore(Long regionId, Long storesId)
    {
        this.regionId=regionId;
        this.storesId=storesId;
    }
}
